{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "application/vnd.jupyter.widget-view+json": {
       "model_id": "6f24ca83245045118782af4ca1ec9401",
       "version_major": 2,
       "version_minor": 0
      },
      "text/plain": [
       "Tab(children=(VBox(), GridBox(children=(HTML(value='Нейросеть для обучения: ', layout=Layout(grid_area='label_…"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/plain": [
       "1488"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "from src.mod import Interface\n",
    "from src.mod.config import ConfigInterface\n",
    "from src.mod.model import ModelInterface\n",
    "from src.mod.dataset import DataSetInterface\n",
    "from src.mod.test import TestingInterface\n",
    "from src.mod.train import TraningInterface\n",
    "from src.mod.params import ParamsInterface\n",
    "from src.utils.config import Config\n",
    "from src.utils.params import Params\n",
    "\n",
    "\n",
    "config = Config.from_file(\"config.yaml\")\n",
    "\n",
    "\n",
    "interface = Interface(\n",
    "    config=config,\n",
    "    params=Params(\n",
    "        model_path=\"\",\n",
    "    )\n",
    ")\n",
    "interface.tabs(\n",
    "    ConfigInterface.from_interface(interface),\n",
    "    ModelInterface.from_interface(interface),\n",
    "    DataSetInterface.from_interface(interface),\n",
    "    ParamsInterface.from_interface(interface),\n",
    "    TraningInterface.from_interface(interface),\n",
    "    TestingInterface.from_interface(interface),\n",
    ")\n",
    "\n"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "venv",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.11.9"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
